<div class=grid_18>
<div class=grid_10> 
    <div class=block-border> 
        <div class=block-header> 
             <h1>SDA Church - Kwabrafoso: Edit Expenditure</h1><span></span> 
        </div> 

        <form id=validate-form class="block-content form" action="add" method=post>
                         
            <div class=_50> 
                <p><label for=textarea>Description</label>
                    <input id="description" name="description" class="required" type="text" value="<?php echo $record['Spend']['description'];?>"/></p>
            </div> 

            <div class=_50> 
                <p><label for=textarea>Action No</label> 
                    <input id="actionno" name="actionno" class="required" class="input-xlarge" type="text" value="<?php echo $record['Spend']['actionno'];?>"/>
                    <input type="hidden" id="actionno" name="actionno" value="<?php echo $record['Spend']['id'];?>"/></p>
            </div>  
                
            <div class=_50> 
                <p><label for=datepicker>Cheque Date</label>
                    <input type=date id="chqdate" name="chqdate" class="required" value="<?php echo $record['Spend']['chqdate'];?>"/></p>
            </div> 
            
            <div class=_50> 
                <p><label for=textarea>Total Expenditure</label>
                    <input id="total" name="total" class="" type="double" value="<?php echo $record['Spend']['total'];?>"/></p> 
            </div> 
            
            <div class=_50> 
                <p><label for=textarea>Conference</label>
                    <input id="conference" name="conference" class="" type="double" value="<?php echo $record['Spend']['conference'];?>"/></p> 
            </div>

            <div class=_50> 
                <p><label for=textarea>District</label>
                    <input id="district" name="district" class="" type="double" value="<?php echo $record['Spend']['district'];?>"/></p>  
            </div> 
                
            <div class=_50> 
                <p><label for=textarea>Poor And Needy</label>
                    <input id="poorandneedy" name="poorandneedy" class=r"" type="double" value="<?php echo $record['Spend']['district'];?>"/></p>  
            </div> 

            <div class=_50> 
                <p><label for=textarea>Project</label>
                    <input id="project" name="project" class=r" " type="double" value="<?php echo $record['Spend']['project'];?>"/></p> 
            </div> 

            <div class=_50> 
                <p><label for=textarea>Sabbath School</label>
                    <input id="sabsch" name="sabsch" class="" type="double" value="<?php echo $record['Spend']['sabsch'];?>"/></p>  
            </div> 

            <div class=_50> 
                <p><label for=textarea>Children Sabbath School</label>
                    <input id="chnsabsch" name="chnsabsch" type="double" class=" " value="<?php echo $record['Spend']['chnsabsch'];?>"/></p> 
            </div>

            <div class=_50> 
                    <p><label for=textarea>Personal Ministries</label>
                     <input id"persmin" name="persmin" class="input-small"  type="double" value="<?php echo $record['Spend']['persmin'];?>"/></p> 
            </div> 
            
            <div class=_50> 
                <p><label for=textarea>Women's Ministries</label>
                    <input id="womensmin" name="womensmin" type="double" class=" " value="<?php echo $record['Spend']['womensmin'];?>"/></p> 
            </div>

            <div class=_50> 
                <p><label for=textarea>Welfare</label>
                    <input id="welfare" name="welfare" type="double" class=" " value="<?php echo $record['Spend']['welfare'];?>"/></p>
            </div>

            <div class=_50> 
                <p><label for=textarea>Church Secretariat</label>
                    <input id="secretariat" name="secretariat" type="double" class="" value="<?php echo $record['Spend']['secretariat'];?>"/></p>  
            </div>

            <div class=_50> 
                <p><label for=textarea>Treasury</label>
                    <input id="treasury" name="treasury" type="double"  class=""  value="<?php echo $record['Spend']['treasury'];?>"/></p>  
            </div>
            
            <div class=_50> 
                <p><label for=textarea>Family Life </label>
                    <input id="familylife" name="familylife" type="double" class="" value="<?php echo $record['Spend']['familylife'];?>"/></p> 
            </div>

            <div class=_50> 
                <p><label for=textarea>Deacon</label>
                    <input id="deacon" name="deacon" type="double" class="" value="<?php echo $record['Spend']['deacon'];?>"/></p>  
            </div>

            <div class=_50> 
                <p><label for=textarea>Adventist Men</label>
                    <input id="advmen" name="advmen" type="double" class="" value="<?php echo $record['Spend']['advmen'];?>"/></p>  
            </div>

            <div class=_50> 
                <p><label for=textarea>Health</label>
                    <input id="health" name="health" type="double" class="" value="<?php echo $record['Spend']['health'];?>"/></p> 
            </div>

            <div class=_50> 
                <p><label for=textarea>Funeral</label>
                    <input id="funeral" name="funeral" type="double" class="" value="<?php echo $record['Spend']['funeral'];?>"/></p> 
            </div>

            <div class=_50> 
                <p><label for=textarea>Communications</label>
                    <input id="communications" name="communications" type="double" class="" value="<?php echo $record['Spend']['communications'];?>"/></p>  
            </div>

            <div class=_50> 
                <p><label for=textarea>Rent</label>
                    <input id="rent" name="rent" type="double" class="" value="<?php echo $record['Spend']['rent'];?>"/></p> 
            </div>

            <div class=_50> 
                <p><label for=textarea>Utilities</label>
                    <input id="utilities" name="utilities" type="double" class="" value="<?php echo $record['Spend']['utilities'];?>"/></p>  
            </div>

            <div class=_50> 
                <p><label for=textarea>Bank Charges</label>
                    <input id="bankcharges" name="bankcharges" type="double" class="" value="<?php echo $record['Spend']['bankcharges'];?>"/></p>  
            </div>

            <div class=block-actions> 
                <ul class=actions-left> 
                    <li><a class="button red" id=reset-validate-form href="javascript:void(0);">Reset</a></li> 
                </ul> 
                <ul class=actions-right> 
                    <li><input type=submit id="Save-Expenditure" class="button" value="Save Record"></li> 
                </ul> 
            </div> 
        </form> 
    </div> 
</div> 